package com.yishe.biz.mysql;

import com.yishe.biz.BaseBiz;
import com.yishe.entites.mysql.YsStaff;
import com.yishe.entites.mysql.YsStaffCase;
import com.yishe.mapper.mysql.YsStaffMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author : chusifeng
 * @version :1.0
 * @date :Create in 2021/4/9 15:08
 * @description: 員工信息serice處理類
 * @package com.yishe.biz.mysql
 * @className YsStaffBiz
 */
@Service
@Slf4j
public class YsStaffBiz extends BaseBiz<YsStaffMapper,YsStaff> {
    @Resource
    private YsStaffMapper ysStaffMapper;

    public YsStaff getUserInfoByParam(Map<String, String> param){
        return ysStaffMapper.getUserInfoByParam(param);
    }

    public List<YsStaff> getAllList(){
        return ysStaffMapper.selectAll();
    }


}
